﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ViewModel
{
    public class viewModel : notify_property
    {
        public viewModel()
        {
            _reminder = new StringBuilder();
        }
        public string reminder
        {
            set
            {
                _reminder.Clear();
                _reminder.Append(value);
                OnPropertyChanged("reminder");
            }
            get
            {
                return _reminder.ToString();
            }
        }
        public void ce()
        {
            reminder = _m.result;
        }
        public async void file_open()
        {
            await _m.file_open();
            reminder = _m.result;
        }
        public async void folder_open()
        {
            await _m.folder_open();
            reminder = _m.result;
        }
        private StringBuilder _reminder;
        private file.model _m = new file.model();

    }
}
